/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * SaveFrame.java
 *
 * Created on Jun 13, 2011, 9:05:55 PM
 */
package GUI;

/**
 *
 * @author Josh
 */
public class SaveFrame extends javax.swing.JFrame {

    /** Creates new form SaveFrame */
    public SaveFrame() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        qwikTag1 = new javax.swing.JCheckBox();
        qwikTag2 = new javax.swing.JCheckBox();
        qwikTag3 = new javax.swing.JCheckBox();
        qwikTag4 = new javax.swing.JCheckBox();
        dndField = new javax.swing.JTextField();
        localNameField = new javax.swing.JTextField();
        tagsChooser = new javax.swing.JComboBox();
        pickedTagsField = new javax.swing.JTextField();
        saveButton = new javax.swing.JButton();
        optionsButton = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

        qwikTag1.setText("jCheckBox1");

        qwikTag2.setText("jCheckBox2");

        qwikTag3.setText("jCheckBox3");

        qwikTag4.setText("jCheckBox4");

        dndField.setEditable(false);
        dndField.setText("Drag n' Drop...");
        dndField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                dndFieldActionPerformed(evt);
            }
        });

        localNameField.setText("Local filename..");
        localNameField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                localNameFieldActionPerformed(evt);
            }
        });

        tagsChooser.setEditable(true);
        tagsChooser.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        pickedTagsField.setText("Assigned Tags");
        pickedTagsField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pickedTagsFieldActionPerformed(evt);
            }
        });

        saveButton.setText("Save");

        optionsButton.setText("Opt");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(pickedTagsField, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                            .addComponent(tagsChooser, 0, 117, Short.MAX_VALUE)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(localNameField)
                                .addComponent(dndField, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(qwikTag2)
                                    .addComponent(qwikTag3)
                                    .addComponent(qwikTag4)
                                    .addComponent(qwikTag1)))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(20, 20, 20)
                                .addComponent(saveButton)))
                        .addGap(14, 14, 14))
                    .addComponent(optionsButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(optionsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 11, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(qwikTag1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(qwikTag2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(qwikTag3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(qwikTag4))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(dndField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(localNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(9, 9, 9)
                        .addComponent(pickedTagsField)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tagsChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saveButton))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void dndFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_dndFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_dndFieldActionPerformed

    private void localNameFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_localNameFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_localNameFieldActionPerformed

    private void pickedTagsFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pickedTagsFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_pickedTagsFieldActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new SaveFrame().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField dndField;
    private javax.swing.JTextField localNameField;
    private javax.swing.JButton optionsButton;
    private javax.swing.JTextField pickedTagsField;
    private javax.swing.JCheckBox qwikTag1;
    private javax.swing.JCheckBox qwikTag2;
    private javax.swing.JCheckBox qwikTag3;
    private javax.swing.JCheckBox qwikTag4;
    private javax.swing.JButton saveButton;
    private javax.swing.JComboBox tagsChooser;
    // End of variables declaration//GEN-END:variables
}
